package pojo;

import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@Getter
@Setter
public class Record {
    private String id;
    private String floor_name;
    private int number;
    private Timestamp reserve_time;
    private Timestamp start_time;
    private Timestamp end_time;
    private boolean cancel_flag;

    public Record(String id, String floor_name, int number, Timestamp reserve_time, Timestamp start_time, Timestamp end_time, boolean cancel_flag) {
        this.id = id;
        this.floor_name = floor_name;
        this.number = number;
        this.reserve_time = reserve_time;
        this.start_time = start_time;
        this.end_time = end_time;
        this.cancel_flag = cancel_flag;
    }

    public Record(String id, String floor_name, int number, Timestamp reserve_time) {
        this.id = id;
        this.floor_name = floor_name;
        this.number = number;
        this.reserve_time = reserve_time;
    }

    public Record() {
    }
/*
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFloor_name() {
        return floor_name;
    }

    public void setFloor_name(String floor_name) {
        this.floor_name = floor_name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Timestamp getReserve_time() {
        return reserve_time;
    }

    public void setReserve_time(Timestamp reserve_time) {
        this.reserve_time = reserve_time;
    }

    public Timestamp getStart_time() {
        return start_time;
    }

    public void setStart_time(Timestamp start_time) {
        this.start_time = start_time;
    }

    public Timestamp getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Timestamp end_time) {
        this.end_time = end_time;
    }

    public boolean getCancel_flag() {
        return cancel_flag;
    }

    public void setCancel_flag(boolean cancel_flag) {
        this.cancel_flag = cancel_flag;
    }*/
}
